import request from '@/utils/request'

// 查询不漏失井建议列表
export function listWellWorkAdvise(query) {
  return request({
    url: '/loss/wellWorkAdvise/list',
    method: 'get',
    params: query
  })
}

// 查询不漏失井建议详细
export function getWellWorkAdvise(id) {
  return request({
    url: '/loss/wellWorkAdvise/' + id,
    method: 'get'
  })
}

// 新增不漏失井建议
export function addWellWorkAdvise(data) {
  return request({
    url: '/loss/wellWorkAdvise',
    method: 'post',
    data: data
  })
}

// 修改不漏失井建议
export function updateWellWorkAdvise(data) {
  return request({
    url: '/loss/wellWorkAdvise',
    method: 'put',
    data: data
  })
}

// 删除不漏失井建议
export function delWellWorkAdvise(id) {
  return request({
    url: '/loss/wellWorkAdvise/' + id,
    method: 'delete'
  })
}
